package cn.lhf.cd.entity;

import java.math.BigDecimal;

public class Goods {
    private Long id;            //唯一编号
    private String name;        //商品名
    private BigDecimal price;   //价格
    private String type;        //商品分类
    private String detail;      //详细介绍

    public Goods() {
    }

    public Goods(String name, BigDecimal price, String type, String detail) {
        this.name = name;
        this.price = price;
        this.type = type;
        this.detail = detail;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
